package icu.qx.qc.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 质检项目对象 qc_quality_project
 *
 * @author ruoyi
 * @date 2024-06-12
 */
public class QcQualityProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 质检项目编码
     */
    @Excel(name = "质检项目编码")
    private String qualityCode;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    private String qualityProjectName;

    /**
     * 检验标准
     */
    @Excel(name = "检验标准")
    private String qualityProjectStandard;

    /**
     * 项目最大值
     */
    @Excel(name = "项目最大值")
    private Long qualityProjectMax;

    /**
     * 项目最小值
     */
    @Excel(name = "项目最小值")
    private Long qualityProjectMin;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String qualityProjectDesc;

    // 该项目的缺陷
    private List<QcDrawback> drawbackList = new ArrayList<>();

    public List<QcDrawback> getDrawbackList() {
        return drawbackList;
    }

    public void setDrawbackList(List<QcDrawback> drawbackList) {
        this.drawbackList = drawbackList;
    }

    public String getQualityCode() {
        return qualityCode;
    }

    public void setQualityCode(String qualityCode) {
        this.qualityCode = qualityCode;
    }

    public String getQualityProjectName() {
        return qualityProjectName;
    }

    public void setQualityProjectName(String qualityProjectName) {
        this.qualityProjectName = qualityProjectName;
    }

    public String getQualityProjectStandard() {
        return qualityProjectStandard;
    }

    public void setQualityProjectStandard(String qualityProjectStandard) {
        this.qualityProjectStandard = qualityProjectStandard;
    }

    public Long getQualityProjectMax() {
        return qualityProjectMax;
    }

    public void setQualityProjectMax(Long qualityProjectMax) {
        this.qualityProjectMax = qualityProjectMax;
    }

    public Long getQualityProjectMin() {
        return qualityProjectMin;
    }

    public void setQualityProjectMin(Long qualityProjectMin) {
        this.qualityProjectMin = qualityProjectMin;
    }

    public String getQualityProjectDesc() {
        return qualityProjectDesc;
    }

    public void setQualityProjectDesc(String qualityProjectDesc) {
        this.qualityProjectDesc = qualityProjectDesc;
    }


    @Override
    public String toString() {
        return "QcQualityProject{" +
                "qualityCode='" + qualityCode + '\'' +
                ", qualityProjectName='" + qualityProjectName + '\'' +
                ", qualityProjectStandard='" + qualityProjectStandard + '\'' +
                ", qualityProjectMax=" + qualityProjectMax +
                ", qualityProjectMin=" + qualityProjectMin +
                ", qualityProjectDesc='" + qualityProjectDesc + '\'' +
                ", drawbackList=" + drawbackList +
                "} " + super.toString();
    }
}
